package com.groupbuying.store.mq;

import com.groupbuying.store.service.StoreCapitalVirtualAccountService;
import com.groupbuying.store.service.StoreMainInfoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @anthor wenguoqiang
 * @date: 2019/06/20 9:55
 * @company 够样
 * @des
 **/
@Component
public class StoreVirtualDealResult {

    public static final Logger LOGGER = LoggerFactory.getLogger(StoreReportResult.class);

    @Autowired
    @Lazy
    private StoreCapitalVirtualAccountService storeCapitalVirtualAccountService;

    public boolean dealSettleResult(Map<String, Object> result) {
        storeCapitalVirtualAccountService.dealStoreVirtualAccount(result);
        return true;
    }


}
